package org.arnetminer.personalized.dao;

import java.util.List;

import org.arnetminer.personalized.vo.Comment;
import org.arnetminer.personalized.vo.Status;
import org.arnetminer.personalized.vo.User;


public interface StatusDAO {
	public void initDao();
    
    public void save(Status transientInstance);
    
	public void delete(Status persistentInstance);
    
    public List findByExample(Status instance);

    public Object merge(Status detachedInstance);

    public void attachDirty(Status instance);
    
    public void attachClean(Status instance);
    
    public List findByProperties(final List<String> properties, final List values, final int start, final int max);
    
    public boolean delete(long id);

    public Status findById(long id);
    
    public void saveComment(Comment transientInstance);
    
    public List findCommentByProperties(final List<String> properties, final List values, final int start, final int max);
    public List findCommentByProperties(final List<String> properties, final List values);
    
    public boolean deleteComment(long id);
}
